body {
  background-color: #f5f5f5 !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: dana;
}

.waiter-open-modal-btn {
  border: none;
  background: transparent;
  width: 35px;
  height: 35px;
  padding: 3px;
  margin-left: 3px;
  cursor: pointer;
}

#event {
  font-family: dana;
  position: fixed;
  background-color: #dc9442;
  top: -80px;
  z-index: 100;
  width: 100%;
  transition: 1s;
  opacity: 0;
  padding: 10px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  color: #fff;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}
#event p {
  text-align: center;
}
#event button {
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  font-family: inherit;
  background-color: transparent;
}

#food_desc {
  text-align: center;
  padding: 0 16px;
}
.sorme-v4-container #food_desc {
  color: #ceb272;
}

.container {
  /* first-template__container background */
  background: #fafafa;
  position: relative;
  height: 100vh;
  width: 700px;
}
.sorme-v4-container {
  background: #37493b !important;
}

.header {
  padding: 0.5rem 0.7rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.header span {
  margin-top: 10px;
}
.sorme-v4-container #restaurant_title {
  color: #ceb272 !important;
}

.header img {
  max-width: 44px;
  max-height: 56px;
  object-fit: cover;
}

.categorySwiper {
  margin-top: 20px;
  padding-right: 10px;
}
.categorySwiper .swiper-slide {
  color: #7b7b7b;
  text-align: center;
  padding: 10px 15px;
  /* border: 1px solid red; */
  width: fit-content !important;
}

.subCategory {
  padding-right: 10px;
}
.subCategory .swiper-slide {
  color: #7b7b7b;
  text-align: center;
  padding: 10px 15px;
  min-width: 77px !important;
  max-width: fit-content !important;
  border-radius: 16px;
  background-color: #ffffff;
}

.foodSwiper {
  background-color: #fafafa;
  height: 450px !important;
  padding-top: 7vh;
}
.sorme-v4-container .foodSwiper {
  background: #37493b !important;
}

.foodSwiper .swiper-slide {
  width: 212px;
  height: 330px;
  background-color: #fff;
  box-shadow: 0px 4px 18px 0px #1d273714;
  margin-left: 10px;
  margin-right: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  gap: 20px;
}
.sorme-v4-container .foodSwiper .swiper-slide {
  background-color: #ceb272;
}

#food-v2 > div {
  background-color: #05090e !important;
}

#food-v2 > div.swiper-slide div p,
#food-v2 > div.swiper-slide div span,
#food-v2 > div span {
  color: #ffffff !important;
}

.food-names {
  text-align: center;
}
.food-names p {
  font-weight: 700;

  font-size: 18px;
  color: #272727;
}
.food-names span {
  font-weight: 400;
  font-size: 14px;
  color: #727272;
}
.foodSwiper .swiper-slide > span {
  font-weight: 500;
  color: #323232;
  font-size: 16px;
}

.foodSwiper .swiper-slide img {
  width: 121px;
  height: 138px;
  object-fit: cover;
}
.foodSwiper .swiper-slide-active {
  transform: translateY(-30px);
}
.foodSwiper .swiper-slide-next {
  transform: translateY(10px);
}
.foodSwiper .swiper-slide-prev {
  transform: translateY(-10px);
}
.foodSwiper .swiper-slide-active,
.foodSwiper .swiper-slide-next,
.foodSwiper .swiper-slide-prev {
  transition: transform 0.4s ease;
}

.social {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 10;
}
.social > span {
  font-size: 15px;
  font-weight: 400;
  color: #323232;
}
.social-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.social-media > a {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 48px;
  height: 48px;
  background-color: #fff;
  border-radius: 16px;
}
.sorme-v4-container .social-media > a {
  background-color: #ceb272;
}

.active-category {
  color: #222222 !important;
  background: #fafafa !important;
  border-top-right-radius: 12px !important;
  border-top-left-radius: 12px !important;
}
.sorme-v4-container .active-category {
  color: #222b34 !important;
  background: #ceb272 !important;
}

#category-v2 .active-category {
  color: #d3481b !important;
  background: #0d1620 !important;
}
#category-v3 .active-category {
  color: #784529 !important;
  background: #f9f0e6 !important;
}

.active-subcategory {
  background-color: #222222 !important;
  color: #fff !important;
}
#sub-category-v2 .active-subcategory {
  background: #d3481b !important;
}
#sub-category-v2 > div {
  background: #05090e !important;
  color: #a2a2a2;
}

#sub-category-v3 .active-subcategory {
  background: #784529 !important;
}

@media screen and (max-width: 700px) {
  .container {
    height: 100vh;
    width: 100%;
  }
}
@media screen and (max-width: 388px) {
  .categorySwiper {
    padding: 0;
  }
}

@media screen and (min-height: 700px) {
  .foodSwiper {
    margin-top: 5vh;
  }
  .social {
    bottom: 8.5vh;
  }
  .categorySwiper {
    margin-top: 35px;
  }
}

@media screen and (min-height: 602px) {
  .foodSwiper .swiper-slide {
    height: 280px;
  }
  .categorySwiper {
    margin-top: 5px;
  }
  .social {
    bottom: 9vh;
  }
}

#change-data {
  display: none;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
  position: fixed;
  top: 40%;
  right: 33%;
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 7px;
  width: 30%;
}
div.modal-content div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 110px;
}

div.modal-content div p {
  font-family: dana;
  text-align: center;
}

@media screen and (max-width: 314px) {
  .modal-content {
    right: 4%;
    width: 92%;
  }
}
@media screen and (max-width: 370px) and (min-width: 315px) {
  .modal-content {
    right: 18%;
    width: 65%;
  }
}
@media screen and (max-width: 531px) and (min-width: 371px) {
  .modal-content {
    right: 22.5%;
    width: 55%;
  }
}
@media screen and (max-width: 1024px) and (min-width: 951px) {
  .modal-content {
    right: 33%;
    width: 34%;
  }
}

div#address, div#club, div#instagram{
  gap: 0px;
}
a#earth img , div#club img, div#website img  , div#address img  {
  width: 32px;
}
a#earth img {
  cursor: pointer;
}
#earth-v3-img{
  filter: brightness(0) saturate(100%) invert(35%) sepia(95%)
  saturate(1800%) hue-rotate(355deg) brightness(95%) contrast(95%);
}

#overlay{
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
#overlay.earth div.modal-content{
  width: 350px;
  position: unset;
  top: unset;
  right: unset;
  background: rgba(255, 255, 255, 0.1); 
  z-index: 1;  
}
#overlay.earth div.modal-content div{
  min-height: fit-content !important;
}
#overlay.earth div.modal-content #close{
  align-items: baseline;
  padding-right: 7px;
}
#overlay.earth div.modal-content #close span{
  cursor: pointer;
}
#overlay.earth div.modal-content div.details{
  gap: 27px;
}
#overlay.earth .social-media{
  flex-direction: row;
  gap: 30px;
}
#overlay.earth .social-media a{
  cursor: pointer;
}
#overlay.earth #address{
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  column-gap: 18px;
  font-size: 15px;
}
.modal-content,
#overlay.earth .social-media {
  overflow: visible;
}

/* base circle button */
#overlay.earth .social-media a{
  position: relative;            /* for pseudo-elements */
  width: 46px;                   /* outer diameter of the button */
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;                    /* above pseudo-elements */
  text-decoration: none;
  overflow: visible;             /* allow rings outside bounds */
  -webkit-backdrop-filter: none; /* avoid double blur issues */
}

/* white outer ring */
#overlay.earth .social-media a::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -38%);
  width: calc(43% + 12px);   /* slightly bigger than button */
  height: calc(43% + 12px);
  border-radius: 50%;
  background: transparent;
  border: 3px solid rgb(56 47 47 / 18%); /* bright thin ring */
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25)); /* extra pop */
}

/* inner dark ring (between outer ring and icon) */
#overlay.earth .social-media a::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 69%;                 /* smaller ring inside */
  height: 69%;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #fff;  /* dark inner ring */
  z-index: 1;
  pointer-events: none;
}

/* make sure the icon image stays on top and sized */
#overlay.earth .social-media a img{
  position: relative;
  z-index: 3;
  width: 25px !important;
  /* height: 25px !important; */
  display: block;
  object-fit: contain;
}
div#address div img{
  width: 25px !important;
}
#club img{
  margin-bottom: -1px;
}
#website img{
  margin-bottom: -3px;
}

@media screen and (min-width:365px) {
  #overlay.earth div.modal-content{
    width: 350px;
  }
}
@media screen and (max-width:367px) {
  #overlay.earth div.modal-content{
    width: 290px;
  }
}